package com.ctshk.rpc.hotel.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * <p>
 * 酒店产品加幅策略规则表
 * </p>
 *
 * @author yinhuan
 * @since 2021-03-03
 */
@Data
@TableName("t_hotel_product_increase_strategy_rule")
@ApiModel(value="HotelProductIncreaseStrategyRule对象", description="酒店产品加幅策略规则表")
public class HotelProductIncreaseStrategyRule {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "加幅策略id")
    private Long id;

    @ApiModelProperty(value = "加幅策略id")
    private Long increaseStrategyId;

    @ApiModelProperty(value = "价格类别")
    private Integer priceType;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @ApiModelProperty(value = "可售类型")
    private Integer saleableType;

    @ApiModelProperty(value = "最大可售数量")
    private Integer saleableNumber;

    @ApiModelProperty(value = "已售数量")
    private Integer soldNumber;

    @ApiModelProperty(value = "自定义id")
    private Long customId;


}
